<?
        require_once('../inc/facebook.php');
        $facebook = new Facebook(array(
                'appId' => '133491496805876',
                'secret' => '75ca045c26d2ad30854e7cde4ebffa94'
        ));
       
        $fbUser = $facebook->getUser();
        //echo $facebook->getAccessToken();
?>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type = "text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type = "text/javascript" src="inc/drop.js"></script>
<link href="inc/styles.css" rel="stylesheet" type="text/css" />
<link href="inc/dropstyle.css" rel="stylesheet" type="text/css" />
<title>Potcake: A Dogumentary</title>
</head>

<body>
    
    
    
    <div id ="content">

        <?php include('inc/header.php'); ?>        
    	<nav>
    		<?php include('inc/nav.php'); ?>
        </nav>

        
        <div id="slideshow">
        <iframe align="center" src="http://www.flickr.com/slideShow/index.gne?group_id=&user_id=39587102@N07&set_id=72157632125638394&text=" frameBorder="0" width="600" height="600" scrolling="no"></iframe>
        </div>
        
        <div id="right">
        	<div id="poster">
                <img src="media/PotcakePoster1.jpg" />
            </div>
            <div id="twitter-feed">
                <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
                <script>
                      new TWTR.Widget({
                          version: 2,
                          type: 'profile',
                          rpp: 4,
                          interval: 30000,
                          width: 280,
                          height: 300,
                          theme: {
                              shell: {
                                  background: '#eeeeee',
                                  color: '#000000'
                              },
                              tweets: {
                                  background: '#ffffff',
                                  color: '#000000',
                                  links: '#87C9C7'
                              }
                          },
                          features: {
                              scrollbar: true,
                              loop: false,
                              live: false,
                              behavior: 'all'
                          }
                      }).render().setUser('PotcakeNation').start();
                </script>
            </div>            
        </div>
        
        <div id="facebook">
        	<div class="fb-comments" data-href="http://cs.newpaltz.edu/~n02033720/2012WP/final/potcakedocumentary/index.php" data-width="600" data-num-posts="2"></div>
        </div>
       
        
        <div style="clear: both"></div>
        
        <footer>
           <div id="copyright">
               &copy Atomic Lizard Services 2012
           </div>
           <div id="icons">
               <?php include('inc/icons.php'); ?>
           </div>
       </footer>
    </div>

</body>

</html>